package com.jsj.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 文件查重对象 top_file
 *
 * @author timec
 * @date 2022-08-21
 */
public class TopFile extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 提交用户 */
    @Excel(name = "提交用户")
    private Long userid;

    /** 测试id */
    @Excel(name = "测试id")
    private Integer subtopid;

    /** 题目id */
    @Excel(name = "题目id")
    private Integer problemid;

    /** 文件名称 */
    @Excel(name = "文件名称")
    private String filename;

    /** 保存地址 */
    @Excel(name = "保存地址")
    private String filepath;

    /** SimHash值 */
    @Excel(name = "SimHash值")
    private String simhash;

    /** 查重标志 */
    @Excel(name = "查重标志")
    private String checkmark;

    /** 最大相似度 */
    @Excel(name = "最大相似度")
    private Double similarity;

    /** 成绩 */
    @Excel(name = "成绩")
    private int score;
    /** 成绩 */
    @Excel(name = "名字")
    private String userName;
    /** 选课班级id */
    @Excel(name = "选课班级id")
    private Integer classid;
    /** 评语 */
    @Excel(name = "评语")
    private String comments;

    public String getComments() {
        return comments;
    }

    public void setComments(String comments) {
        this.comments = comments;
    }

    public void setClassid(Integer classid)
    {
        this.classid = classid;
    }

    public Integer getClassid()
    {
        return classid;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setUserid(Long userid)
    {
        this.userid = userid;
    }

    public Long getUserid()
    {
        return userid;
    }
    public void setSubtopid(Integer subtopid)
    {
        this.subtopid = subtopid;
    }

    public Integer getSubtopid()
    {
        return subtopid;
    }
    public void setProblemid(Integer problemid)
    {
        this.problemid = problemid;
    }

    public Integer getProblemid()
    {
        return problemid;
    }
    public void setFilename(String filename)
    {
        this.filename = filename;
    }

    public String getFilename()
    {
        return filename;
    }
    public void setFilepath(String filepath)
    {
        this.filepath = filepath;
    }

    public String getFilepath()
    {
        return filepath;
    }
    public void setSimhash(String simhash)
    {
        this.simhash = simhash;
    }

    public String getSimhash()
    {
        return simhash;
    }
    public void setCheckmark(String checkmark)
    {
        this.checkmark = checkmark;
    }

    public String getCheckmark()
    {
        return checkmark;
    }
    public void setSimilarity(Double similarity)
    {
        this.similarity = similarity;
    }

    public Double getSimilarity()
    {
        return similarity;
    }

    public int getScore() {
        return score;
    }

    public void setScore(int score) {
        this.score = score;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userid", getUserid())
            .append("subtopid", getSubtopid())
            .append("problemid", getProblemid())
            .append("filename", getFilename())
            .append("filepath", getFilepath())
            .append("simhash", getSimhash())
            .append("checkmark", getCheckmark())
            .append("similarity", getSimilarity())
                .append("score", getScore())
                .append("userName", getUserName())
                .append("classid", getClassid())
                .append("comments", getComments())
            .toString();
    }
}
